package cn.calm.commons.entity;

public class MessageInfo {
	private String message;
	private BaseEntity entity;
	private Object[] values;

	public MessageInfo() {
		super();
	}

	public MessageInfo(String message) {
		super();
		this.message = message;
	}

	public MessageInfo(String message, BaseEntity entity) {
		super();
		this.message = message;
		this.entity = entity;
	}

	public MessageInfo(String message, BaseEntity entity, Object[] values) {
		super();
		this.message = message;
		this.entity = entity;
		this.values = values;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public BaseEntity getEntity() {
		return entity;
	}

	public void setEntity(BaseEntity entity) {
		this.entity = entity;
	}

	public Object[] getValues() {
		return values;
	}

	public void setValues(Object[] values) {
		this.values = values;
	}

}
